package com.vehicle.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-17
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="Admin对象", description="")
public class Admin implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "管理员id")
        @TableId(value = "admin_id", type = IdType.AUTO)
      private Integer adminId;

      @ApiModelProperty(value = "管理员真实姓名")
      private String adminName;

      @ApiModelProperty(value = "管理员联系电话")
      private String tel;

      @ApiModelProperty(value = "管理员登录密码")
      private String password;

      @ApiModelProperty(value = "管理员注册时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @ApiModelProperty(value = "管理员信息修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "管理员是否已删除（0：未删除，1：已删除）")
      @TableLogic
    private Integer deleted;

      @ApiModelProperty(value = "管理员token")
      private String token;

     @ApiModelProperty(value = "用户相关学院信息id")
      private Integer cdId;

     @ApiModelProperty(value = "管理员头像")
  private String imagUrl;


}
